package shayu.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import shayu.product.entity.SkuImagesEntity;
import shayu.product.entity.SkuInfoEntity;
import shayu.product.vo.SkuItemVo;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku信息
 *
 * @author xiaoshayu
 * @email xiaoshayu@qq.copm
 * @date 2023-05-03 22:48:57
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);


    PageUtils queryPageById(Map<String, Object> params);

    List<SkuInfoEntity> getSkuBySpuId(Long spuId);


    SkuItemVo item(Long skuId) throws ExecutionException, InterruptedException;
}

